Platform Explorer / Nuxeo Platform LTS 2015 7.10

Component org.nuxeo.admin.pageproviders

Contributions

XML Source

<?xml version="1.0" encoding="UTF-8"?>
<component name="org.nuxeo.admin.pageproviders">

  <extension target="org.nuxeo.ecm.platform.query.api.PageProviderService"
    point="providers">

    <genericPageProvider name="permissions_purge" class="org.nuxeo.ecm.platform.query.nxql.CoreQueryAndFetchPageProvider">
      <whereClause docType="PermissionsSearch">
        <fixedPart
          statement="SELECT ecm:uuid, dc:title, ecm:acl/*1/principal, ecm:acl/*1/creator, ecm:acl/*1/permission, ecm:acl/*1/begin, ecm:acl/*1/end FROM Document">
          ecm:mixinType != 'HiddenInNavigation'
          AND ecm:isCheckedInVersion = 0
          AND SORTED_COLUMN IS NOT NULL
        </fixedPart>
        <predicate parameter="ecm:acl/*1/principal" operator="IN">
          <field schema="permissions_search" name="ace_username" />
        </predicate>
        <predicate parameter="ecm:ancestorId" operator="IN">
          <field schema="permissions_search" name="ecm_ancestorIds" />
        </predicate>
      </whereClause>
      <pageSize>20</pageSize>
      <sort column="dc:title" ascending="true" />
    </genericPageProvider>

    <coreQueryPageProvider name="permissions_search_folders">
      <pattern quoteParameters="false" escapeParameters="true">
        SELECT * FROM Document WHERE dc:title LIKE '?%' AND ecm:mixinType = 'Folderish'
        AND ecm:mixinType != 'HiddenInNavigation' AND ecm:isCheckedInVersion = 0 AND
        ecm:currentLifeCycleState != 'deleted'
      </pattern>
      <pageSize>10</pageSize>
    </coreQueryPageProvider>

  </extension>

</component>